<template>
  <div class="empty-data-container">
    <img
      :src="
        orderType
          ? require('@/assets/img/common/ic_order@2x.png')
          : require('@/assets/img/common/ic_data@2x.png')
      "
    />
    <div>{{ $t('error_empty') }}</div>
  </div>
</template>

<script>
export default {
  name: 'empty-data',
  props: {
    orderType: {
      type: Boolean,
      default: false
    }
  },
  data () {
    return {}
  },
  methods: {}
}
</script>

<style lang="scss" scoped>
.empty-data-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 56px;
  margin: 0 auto;

  & > img {
    width: 126px;
    height: 126px;
  }

  & > div {
    width: 100%;
    font-size: 17px;
    font-weight: Bold;
    text-align: center;
    color: #d2d8e2;
    line-height: 20px;
  }
}
</style>
